-
Notifications
You must be signed in to change notification settings - Fork 403
refactor: 鉴权插件重构 #1357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: 鉴权插件重构 #1357
Conversation
2024-06-12 15:26:16: =========TEST START========== |
querySql += fmt.Sprintf(" ORDER BY %s %s LIMIT ?, ? ", filter["order_field"], filter["order_type"]) | ||
|
||
var count int64 | ||
var list = make([]*model.EnrichServiceContract, 0, limit) |
Check failure
Code scanning / CodeQL
Slice memory allocation with excessive size value High
user-provided value
} | ||
|
||
args = append(args, offset, limit) | ||
rows, err := tx.Query(querySql, args...) |
Check failure
Code scanning / CodeQL
Database query built from user-controlled sources High
user-provided value
56f53e2
to
f2d9fbd
Compare
Please provide issue(s) of this PR:
Fixes #
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.
Please check any characteristics that apply to this pull request.